package com.zeekr.orm.utils;

import org.assertj.core.api.Fail;

/**
 * @author 吴文杰
 * @version 1.0
 * @since 2024/10/23 1:28
 */
public class Constants {

  public enum ResponseCode {
    //
    SUCCESS(1,"成功"),

    FAILED(400,"失败");

    final int code;
    final String message;

    ResponseCode(int code, String message) {
      this.code = code;
      this.message = message;
    }

    public int getCode() {
      return code;
    }

    public String getMessage() {
      return message;
    }

  }
  public enum Gender {

    //
    MALE(0,"男"),FEMALE(1,"女");
    final int code;
    final String sex;

    Gender(int code, String sex) {
      this.code = code;
      this.sex = sex;
    }

    public int getCode() {
      return code;
    }

    public String getSex() {
      return sex;
    }
  }
}
